//
// File: gui.h
// Description: 
// Author: Adam Damiano
// Author: Leaf Corcoran
//

#ifndef GUI_H
#define GUI_H

#include <iostream>
#include <list>

#include "font.h"
#include "game.h"


#include "guiconstants.h"

#include "button.h"
#include "component.h"
#include "guiclass.h"
#include "listener.h"
#include "textcomp.h"
#include "textline.h"
#include "textarea.h"
#include "container.h"
#include "scrollbar.h"
#include "scrollpanel.h"
#include "image.h"
#include "bar.h"
#include "togglebtn.h"
#include "hovertext.h"
#include "clist.h"

using namespace std;



class StaticText : public Component {
private:
	string text;
	//~ void setSize( int newWidth, int newHeight );

public:
	StaticText( Component* parent, string text = "TEST" );
	void setText( string newText ) { text = newText; }
	virtual void draw();
	void update() { };
	/**
	* StaticText can never have the focus (because what would it do with the focus...?)
	* so we override Component's return value for this. It will be skipped in tab traversals.
	*/
	bool canHaveFocus() { return false; }
	
};


#endif
